package com.youlian.cloud.user.service.response;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "菜单树返回对象")
public class MenusTreeResponse {

  @ApiModelProperty(value = "主键id", name = "id")
  private int id;

  @ApiModelProperty(value = "菜单名称", name = "name")
  private String name;

  @ApiModelProperty(value = "菜单编码", name = "authCode")
  private String authCode;

  @ApiModelProperty(value = "父级菜单id", name = "pid")
  private int pId;

  @ApiModelProperty(value = "是否可选 true: 是， false：否", name = "chkDisabled")
  private boolean chkDisabled;

  @ApiModelProperty(value = "是否展开 true: 是， false：否", name = "chkDisabled")
  private boolean open;

  @ApiModelProperty(value = "是否勾选 true: 是， false：否", name = "checked")
  private boolean checked;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getAuthCode() {
    return authCode;
  }

  public void setAuthCode(String authCode) {
    this.authCode = authCode;
  }

  public int getpId() {
    return pId;
  }

  public void setpId(int pId) {
    this.pId = pId;
  }

  public boolean getChkDisabled() {
    return chkDisabled;
  }

  public void setChkDisabled(boolean chkDisabled) {
    this.chkDisabled = chkDisabled;
  }

  public boolean getOpen() {
    return open;
  }

  public void setOpen(boolean open) {
    this.open = open;
  }

  public boolean getChecked() {
    return checked;
  }

  public void setChecked(boolean checked) {
    this.checked = checked;
  }
}
